package com.dingtao.common.bean;

import com.alibaba.fastjson.annotation.JSONField;
import com.dingtao.common.bean.Search;

import java.util.List;

import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@Data
public class GetComment {

    @JSONField(name = "current")
    private int current;
    @JSONField(name = "pages")
    private int pages;
    @JSONField(name = "records")
    private List<TDynamicComment> records;
    @JSONField(name = "size")
    private int size;
    @JSONField(name = "total")
    private int total;

    @NoArgsConstructor
    @Data
    public static class TDynamicComment
    {
        @JSONField(name = "addTime")
        public String addTime;
        @JSONField(name = "commentMember")
        public String commentMember;
        @JSONField(name = "dynamicId")
        public String dynamicId;
        @JSONField(name = "id")
        public String id;
        @JSONField(name = "message")
        public String message;
        @JSONField(name = "mid")
        public String mid;
        @JSONField(name = "reply")
        public String reply;
        @JSONField(name = "dianzan")
        public boolean dianzan;
        @JSONField(name = "follow")
        public String follow;
        @JSONField(name = "memberHead")
        public String memberHead;
    }

}
